
<hr/>
<div style="display:table;width:100%;">
<table class="table table-condensed" style="border:0;width:240px;float:left;">
<tbody>
    <?php //if( !empty($detail['s_make']) ) { ?>
    <!--<tr>
        <td width="150px"><label><?php //_e('Make', 'cars_attributes'); ?></label></td>
        <td width="150px"><?php //echo @$detail['s_make']; ?></td>
    </tr>-->
    <?php //} ?>
    <?php //if( !empty($detail['s_model']) ) { ?>
    <!--<tr>
        <td width="150px"><label><?php //_e('Model', 'cars_attributes'); ?></label></td>
        <td width="150px"><?php //echo @$detail['s_model']; ?></td>
    </tr>-->
    <?php //} ?>
    <?php //$locale = osc_current_user_locale(); ?>
    <?php //if( !empty($detail['locale'][$locale]['s_car_type']) ) { ?>
    <!--<tr>
        <td width="150px"><label><?php //_e('Car type', 'cars_attributes'); ?></label></td>
        <td width="150px"><?php //echo @$detail['locale'][$locale]['s_car_type']; ?></td>
    </tr>-->
    <?php //} ?>
    <?php if( !empty($detail['i_registration']) ) { ?>
    <tr>
        <td width="150px"><label><?php _e('Registration Year', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $detail['i_registration']; ?></strong></td>
    </tr>
    <?php } ?>
    <?php if( !empty($detail['i_payload']) ) { ?>
    <tr>
        <td width="150px"><label><?php _e('Payload', 'cars_attributes');  ?></label></td>
        <td width="150px"><strong><?php echo @$detail['i_payload']; ?>&nbsp;kg</strong></td>
    </tr>
    <?php } ?>

    <?php if( !empty($detail['i_mileage']) ) { ?>
    <tr>
        <td width="150px"><label><?php _e('Mileage', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo @$detail['i_mileage']; ?>&nbsp;km</strong></td>
    </tr>
    <?php } ?>
    <?php if( !empty($detail['i_weight']) ) { ?>
    <tr>
        <td width="150px"><label><?php _e('Weight', 'cars_attributes');  ?></label></td>
        <td width="150px"><strong><?php echo @$detail['i_weight']; ?>&nbsp;kg</strong></td>
    </tr>
    <?php } ?>
    <?php if( !empty($detail['e_suspension']) ) { ?>
    <tr>
		<?php $suspension = array(
                    'Steel spring' => __('Steel Spring', 'cars_attributes'), 
                    'Pneumatic' => __('Pneumatic', 'cars_attributes')); ?>
        
        <td width="150px"><label><?php _e('Suspension', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $suspension[$detail['e_suspension']]; ?></strong></td>
    </tr>
    <?php } ?>
    <?php if( !empty($detail['e_axis']) ) { ?>
    <tr>
        <?php $axis = array('4x2' => __('4x2', 'cars_attributes'),
							'4x4' => __('4x4', 'cars_attributes'),
							'6x2' => __('6x2', 'cars_attributes'),
							'6x4' => __('6x4', 'cars_attributes'),
							'8x4' => __('8x4', 'cars_attributes'),
							'8x8' => __('8x8', 'cars_attributes')
							); 
		?>
        <td width="150px"><label><?php _e('Axis', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $axis[$detail['e_axis']]; ?></strong></td>
    </tr>
    <?php } ?>
    
    
</tbody>
</table>

<table class="table table-condensed" style="border:0;width:240px;float:right;">
<tbody>	
    
	<?php if( !empty($detail['e_cab']) ) { ?>
    <tr>
        <?php $cab = array('cab short'          => __('Short', 'cars_attributes')
                           ,'cab medium'        => __('Medium', 'cars_attributes')
                           ,'cab long'          => __('Long', 'cars_attributes')
			   ,'megaspace'         => __('Megaspace', 'cars_attributes')
			   ,'other'             => __('Other', 'cars_attributes')
	   );
        ?>
        <td width="150px"><label><?php _e('Cabina', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $cab[$detail['e_cab']]; ?></strong></td>
    </tr>
    <?php } ?>	   
	<?php if( !empty($detail['i_power']) ) { ?>
    <tr>
        <td width="150px"><label><?php _e('Power', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo @$detail['i_power']; ?> <?php echo @$detail['e_power_unit']; ?></strong></td>
    </tr>
    <?php } ?>  
	<?php if( !empty($detail['e_fuel']) ) { ?>
    <tr>
        <?php $fuel = array('DIESEL'          => __('Diesel', 'cars_attributes')
                           ,'GASOLINE'        => __('Gasoline', 'cars_attributes')
                           ,'OTHER'           => __('Other', 'cars_attributes'));
        ?>
        <td width="150px"><label><?php _e('Fuel', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $fuel[$detail['e_fuel']]; ?></strong></td>
    </tr>
    <?php } ?>
	<?php if( !empty($detail['i_seats']) ) { ?>
    <tr>
        <td width="150px"><label><?php _e('Seats', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo @$detail['i_seats']; ?></strong></td>
    </tr>
    <?php } ?>
    <tr style="display:none;">
        <td width="150px"><label><?php _e('Warranty', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo @$detail['b_warranty'] ? '<strong>' . __('Yes', 'cars_attributes') . '</strong>' : __('No', 'cars_attributes'); ?></strong></td>
    </tr>
	<tr>
        <td><label><?php _e('State', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo @$detail['b_new'] ? '<strong>' . __('New', 'cars_attributes') . '</strong>' : __('Used', 'cars_attributes'); ?></strong></td>
    </tr>
	<?php if( !empty($detail['e_seller']) ) { ?>
    <tr style="display:none;">
        <?php $seller = array('DEALER' => __('Dealer', 'cars_attributes'), 'OWNER' => __('Owner', 'cars_attributes')); ?>
        <td width="150px"><label><?php _e('Seller', 'cars_attributes'); ?></label></td>
        <td width="150px"><strong><?php echo $seller[$detail['e_seller']]; ?></strong></td>
    </tr>
    <?php } ?>
</tbody>
</table>
</div>